<layout name="layout" />
<div class="main-div">
    <form name="main_form" method="POST" action="__SELF__" enctype="multipart/form-data">
        <table cellspacing="1" cellpadding="3" width="100%">
            <tr>
                <td class="label">角色列表</td>
                <td>
                    <?php foreach($roleData as $k=>$v) :?>
                    <input  type="checkbox" name="role_id[]" value="<?php echo $v['id']?>" />
                    <?php echo $v['role_name']; ?>
                    <?php endforeach;?>
                </td>
            </tr>
            <tr>
                <td class="label">管理员名称：</td>
                <td>
                    <input  type="text" name="adminname" value="" required/>
                </td>
            </tr>
            <tr>
                <td class="label">密码：</td>
                <td>
                    <input type="password" size="25" name="password" required />
                </td>
            </tr>
            <tr>
                <td class="label">瑜伽馆：</td>
                <td>
                   {:buildSelect('company','company_id','id','company_name')}
                </td>
            </tr>
            <tr>
                <td colspan="99" align="center">
                    <input type="submit" class="button" value=" 确定 " />
                    <input type="reset" class="button" value=" 重置 " />
                </td>
        </table>
    </form>
</div>


<script>
</script>